<script setup>
import {ref} from "vue";

const count = ref(0);
const add = () => {
  count.value++;
}
defineExpose({
  count,
  add
})
</script>

<template>

</template>

<style scoped>
.son {
  border: 1px aqua solid;
  padding: 30px;
}
</style>